cmake_minimum_required(VERSION 3.20)
set(CMAKE_CXX_STANDARD 14)

project (SolverPublicElementTest)

add_executable(${PROJECT_NAME} main.cpp)

import_gtest()

target_include_directories(${PROJECT_NAME}
    PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../../
    PRIVATE ${CMAKE_INSTALL_PREFIX}/include)

target_link_directories(${PROJECT_NAME} PRIVATE ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
target_link_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/lib)
target_link_directories(${PROJECT_NAME} PRIVATE ${CMAKE_INSTALL_PREFIX}/lib)

target_link_libraries(${PROJECT_NAME} PRIVATE PublicElement ElementCalculator ShellSecCalculator Integration Framework DBManager DataStructure Algebra Configuration)